package com.njtoyo.taxi.admin.service.business.geo;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.njtoyo.taxi.admin.rest.presenter.business.geo.AllListPresenter;
import com.njtoyo.taxi.admin.rest.presenter.business.geo.RegionListPresenter;
import com.njtoyo.taxi.admin.rest.wrapper.business.canton.RegionCreateWrapper;
import com.njtoyo.taxi.admin.rest.wrapper.business.canton.RegionQueryWrapper;
import com.njtoyo.taxi.admin.rest.wrapper.business.canton.RegionUpdateWrapper;
import com.taxi.entity.common.RestResult;
import com.njtoyo.taxi.entity.backend.AdminUser;

import java.util.List;

public interface GeoCustomerRegionService {

    RestResult<List<AllListPresenter>> getAll(AdminUser adminUser);

    RestResult create(RegionCreateWrapper wrapper);

    RestResult<IPage<RegionListPresenter>> getList(RegionQueryWrapper wrapper);

    RestResult<Boolean> update(Long id, RegionUpdateWrapper wrapper);

    RestResult setCustomerRegionClose(Long id, Boolean isClose);
}
